

Pod::Spec.new do |s|
  s.name             = "BCModel"
  s.version          = "1.0.0"
  s.summary          = "基础扩展"
  s.description      = <<-DESC.gsub(/^\s*\|?/,'')
                       An optional longer description of Huihui Health

                       | * Markdown format.
                       | * Don't worry about the indent, we strip it!
                       DESC
  s.homepage         = "https://gitlab.leke.cn/health-huihui/app/ios/ios-component/BCModel.git"
  # s.screenshots     = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
  s.license          = 'BSD'
  s.author           = { "chasel" => "chenchun1@cnstrong.cn" }
  s.source           = { :git => "git@gitlab.leke.cn:health-huihui/app/ios/ios-component/BCModel.git", :branch => "develop" }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.platform     = :ios, '8.0'
  s.requires_arc = true

  s.default_subspec = 'Core'
  
  # 核心库
  s.subspec 'Core' do |core|
       core.public_header_files = 'Core/**/BCModel.h', 'Core/**/NSObject+BCModel.h'
       core.source_files = 'Core/**/*.{h,m}'
   end
  
  # 核心库
  s.subspec 'CoreSwift' do |coreSwift|
      coreSwift.source_files = 'CoreSwift/**/*.{h,m,swift}'
  end

  # 通用数据模型
  s.subspec 'DataGeneral' do |data|
      data.source_files = 'DataGeneral/*.{h,m,swift}'
  end

end
